mirror of
https://github.com/offen/docker-volume-backup.git
synced 2026-04-14 05:15:35 +02:00
Migrate CI setup to GitHub Actions, also publish to GHCR (#199)
* Run tests in GitHub actions * Do not try to allocate a pseudo TTY when running compose commands * Try hard disabling TTY allocation * Use compose plugin * Test scripts shall not try to allocate a TTY * Pass correct base version * Check whether env var is even needed * Stop running tests in CircleCI * Run releases from GitHub actions as well * Manually construct tags to be pushed on release
This commit is contained in:
17
.github/workflows/test.yml
vendored
Normal file
17
.github/workflows/test.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
name: Run Integration Tests
|
||||
|
||||
on:
|
||||
- push
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build Docker Image
|
||||
run: docker build . -t offen/docker-volume-backup:test
|
||||
- name: Run Tests
|
||||
working-directory: ./test
|
||||
run: |
|
||||
export GPG_TTY=$(tty)
|
||||
./test.sh test
|
||||
Reference in New Issue
Block a user