Use os.path to properly check docroot base path #64
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Test the Dockerfile builds ok | |
run: | | |
docker build --tag srcf-control . | |
- name: Test (crudely) that the app can initialise | |
run: | | |
docker run --rm --interactive srcf-control python3 -c "from control.webapp import app" |